package cn.hbu.zlfw.dic.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import cn.hbu.zlfw.common.base.service.impl.BaseServiceImpl;
import cn.hbu.zlfw.common.util.PageModel;
import cn.hbu.zlfw.dic.dao.DicUserTypeDao;
import cn.hbu.zlfw.dic.entity.DicUserType;
import cn.hbu.zlfw.dic.service.DicUserTypeService;
/**
 * 
 * @ClassName: DicUserTypeImpl 
 * @Description: 用户类型service实现
 * @author 王鹏伟<1223443289@qq.com>
 * @date 2017年10月23日 下午5:11:38  
 * @version V1.0
 */
@Service("dicUserTypeService")
@Transactional
public class DicUserTypeServiceImpl  extends BaseServiceImpl<DicUserType, String> implements DicUserTypeService{
	
	
	@Autowired
	private DicUserTypeDao dicUserTypeDao;
	/*
	 * (non-Javadoc)
	 * @see cn.hbu.zlfw.dic.service.DicUserTypeService#listUserTypesToRoot(cn.hbu.zlfw.common.util.PageModel)
	 */
	@Override
	public PageModel<DicUserType> listUserTypesToRoot(PageModel<DicUserType> pageModel) {
		return this.dicUserTypeDao.listUserTypesToRoot(pageModel);
	}

}
